package com.yu.common.feign;

import com.yu.config.result.BackResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "vpp-access" , url = "http://localhost:8081/vpp-access")
public interface FeignProviderClient {

    @GetMapping("/equipment/assets/attributeAll")
    BackResult attributeAll(@RequestParam String code);
}
